from pydantic import BaseModel
from datetime import datetime


class BiliComment(BaseModel):
    id: int
    comment_text: str
    comment_time: datetime
    user_id: str
    user_nickname: str
    user_sex: str
    sub_comment_count: int
    likes: int
    address: str
    emotional_value: float

    video_id: str


class BiliVideo(BaseModel):
    aid: str
    bv_id: str
    title: str
    desc: str
    owner: str
    views: int
    likes: int
    comments_count: int

    user_id: int
